package com.ayuan.blog.bean;

import lombok.Data;

/**
 * Created by xiaozhu on 16/8/14.
 */
@Data
public class PageQueryBean {

    private int pageNum;
    private int pageSize;

    public int getStart() {
        return (pageNum - 1) * pageSize;
    }
}
